#ifndef _SHADER_MANAGER_TEXTURE2D_
#define _SHADER_MANAGER_TEXTURE2D_

#include "smTexture.h"
#include <GL/glew.h>

namespace ShaderManager
{

class smTexture2D : public smTexture
{
public:
	smTexture2D(GLuint texture_unit);
	virtual void bind();
	virtual void unbind();
	void load(int size[2], void *data, GLuint internal_format, GLuint format, GLuint type, bool linear, bool clamp);
	void load(int size, void *data, GLuint internal_format, GLuint format, GLuint type, bool linear, bool clamp);
};

}

#endif